<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta charset="utf-8" />
<title>员工表</title>
<link rel="stylesheet" href="${pageContext.servletContext.contextPath }/css/my.css">
<link rel="stylesheet" href="${pageContext.servletContext.contextPath }/css/bootstrap.min.css">
<script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>

	<div class="emp_contaner">
		<div>
			<form action="">
				性别：<select name="sex">
					<option value="-1">--</option>
					<option value="0">男</option>
					<option value="1">女</option>
				</select>
				用户名:<input type="text" name="username">
				年龄:<input type="text" name="age">
				<input type="submit" value="查询">
			</form>
		
		</div>
		<table class="table table-bordered table-striped table-hover">
			<tr>
				<th>头像</th>
				<th>名称</th>
				<th>密码</th>
				<th colspan="2">操作</th>
			</tr>
			<c:forEach var="user" items="${userLists}">
				<tr>
					<td><img src="${user.headerUri}" width="60px" height="60px"></td>
					<td>${user.userName}</td>
					<td>${user.passWord }</td>
					<td><a href="#" onclick="deleteRow(this)">删除</a></td>
					<td><a href="#" onclick="updateDepartName(this)">修改</a></td>
				</tr>
			</c:forEach>
		</table>
		<div>
		  ${pageStr}
		</div>
	</div>
</body>
</html>